#pragma once
#ifndef __SCENEMGR_H__
#define __SCENEMGR_H__

#include "Utility.h"

#include "../util/PreDeclare.h"
#include "../util/D3DCommon.h"

namespace WindGE
{
	class WIND_CORE_API SceneMgr
	{
	public:
		SceneMgr();
		~SceneMgr();

		inline void set_root(GameObjectPtr root) { object_root_ = root; }
		inline GameObjectPtr object_root() const { return object_root_; }
		
		GameObjectPtr object_create();

	private:
		GameObjectPtr object_root_;

		std::unordered_map<std::string, GameObjectPtr> object_cache_;
	};
}

#endif // !__SCENEMGR_H__


